package com.xuanyuanzi.all_learning.infrastructure.common.aop;

import com.xuanyuanzi.all_learning.infrastructure.common.enums.ClientTypeEnum;
import com.xuanyuanzi.all_learning.infrastructure.common.enums.MustTokenEnum;

import java.lang.annotation.*;

@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface JwtTokenAuth {

    ClientTypeEnum value() default  ClientTypeEnum.IPC;

    MustTokenEnum mustToken() default  MustTokenEnum.MUST_TOKEN;
}
